#include <string>
#include <sstream>
#include "application.h"

extern Application app;


// used in generateName
int gNameCounter=1;

std::string generateName(std::string prefix)
{
    std::ostringstream stream;
    stream << prefix << gNameCounter++;
    return stream.str();
}

bool isKeyDown(OIS::KeyCode keycode)
{
	return app.mKeyboard->isKeyDown(keycode);
}

void writelog(std::string text)
{
	//todo;
}